﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<SuperStarProject.Models.LogOnModel>" %>

<asp:Content ID="loginTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Đăng nhập
</asp:Content>

<asp:Content ID="loginContent" ContentPlaceHolderID="MainContent" runat="server">

    <% using (Html.BeginForm()) { %>
        <%= Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.") %>
         <div class="feat_prod_box_details">
            <p class="details">
             <h2>Đăng nhập</h2>
            </p>        
              	<div class="contact_form">
                <div class="form_subtitle">Đăng nhập tài khoản</div>        
                    <div class="form_row">
                    <label class="contact"><strong>Username:</strong></label>
                     <%= Html.TextBoxFor(m => m.UserName, new { @class = "contact_input" }) %>
                     <%= Html.ValidationMessageFor(m => m.UserName) %>
                    </div>  


                    <div class="form_row">
                    <label class="contact"><strong>Password:</strong></label>
                    <%= Html.PasswordFor(m => m.Password, new { @class = "contact_input" })%>
                    <%= Html.ValidationMessageFor(m => m.Password) %>
                    </div>                     

                    <div class="form_row">
                        <div class="terms">
                        <%= Html.CheckBoxFor(m => m.RememberMe) %>
                        Nhớ mất khẩu
                        </div>
                    </div>  
                    <div class="form_row">
                    <input type="submit" class="register" value="Log On" />
                    </div>                    
                </div>   
            </div>
    <% } %>
</asp:Content>
